package org.corey.share.db.service;

import org.corey.share.db.entity.PhotoAlbum;
import org.corey.share.misc.PageData;

public interface AlbumService {
	public boolean saveAlbum(PhotoAlbum album);

	public boolean updateAlbum(PhotoAlbum album);

	public boolean deleteAlbum(PhotoAlbum album);
	
	public boolean deleteAlbum(Long albumId);
	
	public PhotoAlbum getAlbum(Long albumId);

	public PageData<PhotoAlbum> getPhotoAlbum(int pageIndex, int pageSize);
}
